package com.shopping.pojo;

import java.util.Vector;

public class OfflineSys {

    private int id;
    private int senderId;
    private int receiverId;
    private Vector<OfflineMessage> message;

    public OfflineSys(int senderId, int receiverId) {
        this.senderId = senderId;
        this.receiverId = receiverId;
    }

    public OfflineSys(int senderId, int receiverId, Vector<OfflineMessage> message) {
        this.senderId = senderId;
        this.receiverId = receiverId;
        this.message = message;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getSenderId() {
        return senderId;
    }

    public void setSenderId(int senderId) {
        this.senderId = senderId;
    }

    public int getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(int receiverId) {
        this.receiverId = receiverId;
    }

    public Vector<OfflineMessage> getMessage() {
        return message;
    }

    public void setMessage(Vector<OfflineMessage> message) {
        this.message = message;
    }
}
